#ifndef TECHERMODEL_H
#define TECHERMODEL_H

/***
 * 教师信息
*/
#include "head.h"

class TecherModel
{
public:
    TecherModel();

private:
    QString code;
    QString name;
    qint8 sex;          //性别
    QString subjcode;   //执教学科
    QDateTime birth;    //出生日期
    QDateTime ontime;   //入职时间

public:
    QString getCode()  {return this->code;}
    void setCode(QString code){this->code=code;}

    QString getName(){return name;}
    void setName(QString name){this->name=name;}

    qint8 getSex(){return this->sex;}
    void setSex(qint8 sex){this->sex=sex;}

    QDateTime getBirth(){return this->birth;}
    void setBirth(QDateTime birth){this->birth=birth;}

    QDateTime getOntime(){return this->ontime;}
    void setOntime(QDateTime ontime){this->ontime=ontime;}

    QString getSubjcode(){return this->subjcode;}
    void setSubjcode(QString subjcode){this->subjcode=subjcode;}

};

#endif // TECHERMODEL_H
